package com.efast.dmom.mgmt.service.master.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasDpathDao;
import com.efast.dmom.mgmt.entity.master.TmBasDpath;
import com.efast.dmom.mgmt.service.master.TmBasDpathService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TmBasDpathServiceImpl implements TmBasDpathService {
	@Autowired
	private TmBasDpathDao tmBasDpathDao;

	@Override
	public long getTmBasDpathRowCount(Assist assist) {
		return tmBasDpathDao.getTmBasDpathRowCount(assist);
	}

	@Override
	public List<TmBasDpath> selectTmBasDpath(Assist assist) {
		return tmBasDpathDao.selectTmBasDpath(assist);
	}

	@Override
	public TmBasDpath selectTmBasDpathByObj(TmBasDpath obj) {
		return tmBasDpathDao.selectTmBasDpathByObj(obj);
	}

	@Override
	public TmBasDpath selectTmBasDpathById(Integer id) {
		return tmBasDpathDao.selectTmBasDpathById(id);
	}

	@Override
	public int insertTmBasDpath(TmBasDpath value) {
		return tmBasDpathDao.insertTmBasDpath(value);
	}

	@Override
	public int insertNonEmptyTmBasDpath(TmBasDpath value) {
		return tmBasDpathDao.insertNonEmptyTmBasDpath(value);
	}

	@Override
	public int insertTmBasDpathByBatch(List<TmBasDpath> value) {
		return tmBasDpathDao.insertTmBasDpathByBatch(value);
	}

	@Override
	public int deleteTmBasDpathById(Integer id) {
		return tmBasDpathDao.deleteTmBasDpathById(id);
	}

	@Override
	public int deleteTmBasDpath(Assist assist) {
		return tmBasDpathDao.deleteTmBasDpath(assist);
	}

	@Override
	public int updateTmBasDpathById(TmBasDpath enti) {
		return tmBasDpathDao.updateTmBasDpathById(enti);
	}

	@Override
	public int updateTmBasDpath(TmBasDpath value, Assist assist) {
		return tmBasDpathDao.updateTmBasDpath(value, assist);
	}

	@Override
	public int updateNonEmptyTmBasDpathById(TmBasDpath enti) {
		return tmBasDpathDao.updateNonEmptyTmBasDpathById(enti);
	}

	@Override
	public int updateNonEmptyTmBasDpath(TmBasDpath value, Assist assist) {
		return tmBasDpathDao.updateNonEmptyTmBasDpath(value, assist);
	}

	public TmBasDpathDao getTmBasDpathDao() {
		return this.tmBasDpathDao;
	}

	public void setTmBasDpathDao(TmBasDpathDao tmBasDpathDao) {
		this.tmBasDpathDao = tmBasDpathDao;
	}

}